#include<iostream>
#include<stdlib.h>
#include<stdio.h>
using namespace std;

int galv_uninit;

int galv = 10;

int main()
{

  int* p1 = (int*)malloc(10*sizeof(int));
  int* p2 = (int*)malloc(10*sizeof(int));
  int* p3 = (int*)malloc(10*sizeof(int));
  int* p4 = (int*)malloc(10*sizeof(int));

  printf("main: %p\n",main);

  cout << "initdata: " << &galv << endl;

  cout << "uninitdata: " << &galv_uninit << endl;
  cout << endl;

  cout << p1 << endl;
  cout << p2 << endl;
  cout << p3 << endl;
  cout << p4 << endl;

  cout << &p1 << endl;
  cout << &p2 << endl;
  cout << &p3 << endl;
  cout << &p4 << endl;

  return 0;
}
